package com.lgc.javathread.threadLocalTest.test3;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Main {
    public static void main(String[] args) {
        ExecutorService service = Executors.newFixedThreadPool(20);

        for (int i=0;i<20;i++){
            int num =i;

            service.execute(()->{
                System.out.println(num+" "+NumUtil.add10(num));
            });
        }

        service.shutdown();
    }
}
